Skip to main content

IRedisTypedTransactionAsync<T>

Redis transaction for typed client

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisTypedTransactionAsync<T> : IRedisTypedQueueableOperationAsync<T>

Methods

CommitAsync(CancellationToken)

View Source
Declaration
ValueTask<bool> CommitAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.Threading.CancellationTokentoken

RollbackAsync(CancellationToken)

View Source
Declaration
ValueTask RollbackAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken